﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NativeDataOperation.Interfaces;

namespace DDHDeepTunnel.Interfaces
{
    public interface IProcedure
    {
        IEnumerable<T> QueryParamsStoredProcedure<T>(string storedProcedureName,
            List<ProcedureParams> procedureParamses = null)
            where T : class;

        IEnumerable<T> QueryMultipleParamsStoredProcedure<T>(string storedProcedureName, out List<DataBaseSystemPaging> dataBaseSystemPagings,
            List<ProcedureParams> procedureParamses = null)
            where T : class;
    }
}